from django.db import models
from django.contrib.auth.models import AbstractUser
# Create your models here.

class Users(AbstractUser):
    email = models.CharField(verbose_name="邮箱",max_length=30)
    class Meta:
        db_table ="users"
        verbose_name_plural ="用户登录"
    def __str__(self):
        return self.username